import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import App from './App.tsx';
import './styles/global.less';
import './styles/var.less';

import '@ant-design/v5-patch-for-react-19';
import 'uno.css';
import '@/utils/i18n.ts';
import { AliveScope } from 'react-activation';
createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <AliveScope>
      <BrowserRouter>
        <App />
      </BrowserRouter>
    </AliveScope>
  </StrictMode>
);
